package com.nami.conver.infra.convertor;

import com.nami.conver.domain.disruptor.handler.request.ConverTaskAddRequest;

import com.nami.conver.infra.orm.model.ConverTaskDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ConverTaskConvert {

    ConverTaskConvert INSTANCE = Mappers.getMapper(ConverTaskConvert.class);

    ConverTaskDO convert(ConverTaskAddRequest req) ;

    List<ConverTaskDO> convertList(List<ConverTaskAddRequest> requests) ;

}
